package cup.com.icss.dao;

import cup.com.icss.model.PeopleRecord;
import cup.com.icss.model.PeopleRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PeopleRecordMapper {
    int countByExample(PeopleRecordExample example);

    int deleteByExample(PeopleRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(PeopleRecord record);

    int insertSelective(PeopleRecord record);

    List<PeopleRecord> selectByExample(PeopleRecordExample example);

    PeopleRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") PeopleRecord record, @Param("example") PeopleRecordExample example);

    int updateByExample(@Param("record") PeopleRecord record, @Param("example") PeopleRecordExample example);

    int updateByPrimaryKeySelective(PeopleRecord record);

    int updateByPrimaryKey(PeopleRecord record);
    
    List<PeopleRecord> selectPeopleRecordList(@Param("start") int pageNum,@Param("end") int pageSize,@Param("t") PeopleRecord record);
    
    List<PeopleRecord> selectPeopleRecordListSize(PeopleRecord record);
}